SDK_ROOT = $$PWD

exists(conf.pri){
	include(conf.pri)	
}else{
	error ("Run configure first")	
}


SDK_BIN_DIR = $$SDK_ROOT/bin
SDK_LIB_DIR = $$SDK_ROOT/lib
SDK_VERSION=0.1.0

#Target name generated acording config
SDK_TARGET_NAME = optra
CONFIG(staticlib, dll|staticlib):SDK_TARGET_NAME = $$SDK_TARGET_NAME"static"
CONFIG(debug, debug|release):SDK_TARGET_NAME = $$SDK_TARGET_NAME"d"
#optra-applications:SDK_TARGET_NAME = $$SDK_TARGET_NAME"a"
#optra-zones:SDK_TARGET_NAME = $$SDK_TARGET_NAME"z"

SDK_LIBS = -l$$SDK_TARGET_NAME
LIBS += -L$$SDK_LIB_DIR

unix:DEFINES += _LINUX
win32:DEFINES += _WIN32

QT+=network xml core sql gui webkit
